<?php

namespace App\Common;

class ApiErrorCode
{
    const UNAUTHORIZED = [401,'unauthorized'];
    const INVALID_PARAMS = [4002,'INVALID_PARAMS'];
    const MODEL_NOT_FOUND = [4003,'MODEL_NOT_FOUND'];
    const NOT_FOUND = [4004,'NOT_FOUND'];
    const INTERNAL_SERVER_ERROR = [5000,'INTERNAL_SERVER_ERROR'];

    const WX_LOGIN_FAIL = [6001,'微信登录失败'];
    const ADMIN_NOT_DEL = [6002,'超级管理员禁止删除'];
    const ADMIN_NOT_EDIT = [6003,'超级管理员禁止编辑'];

    const LOGIN_FAILED =   [1008,'账号或密码错误'];

}
